filechooser: Only do search_start_query() while we are in search mode
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 3 Mar 2015 16:43:14 +0000 (17:43 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 3 Mar 2015 16:57:08 +0000 (17:57 +0100)
commit5751d4f66e6a95e46df11a603a9a770281ee7e9b
treea9e5be7c029c71e858b7f632d3c0ef40aad3d333
parentb2f3b674946ae9b1f335b4222f7942067f232baa
filechooser: Only do search_start_query() while we are in search mode

This signal can be emitted by GtkSearchEntry after search has been
cancelled, and other operation mode is set. It doesn't make sense to
populate the search model in that state anymore, so just avoid doing it.

https://bugzilla.gnome.org/show_bug.cgi?id=745479
gtk/gtkfilechooserwidget.c